make string numeric pandas

45

make string numeric pandas -

df['DataFrame Column'] = df['DataFrame Column'].astype(int)

panda dataframe read csv change string to float -

df['DataFrame Column'] = df['DataFrame Column'].astype(float)

Comments

Submit
0 Comments